package guda.house.biz;

import guda.house.biz.form.OwnerSearchForm;
import guda.house.biz.form.village.OwnerEditForm;
import guda.house.biz.form.village.OwnerForm;
import guda.grape.autogen.common.page.BaseQuery;
import guda.grape.autogen.common.page.BizResult;
import guda.house.biz.query.OwnerQuery;

public interface OwnerBiz {

        BizResult detail(long id);

        BizResult list(OwnerQuery ownerQuery);

        BizResult delete(long id);

        BizResult create(OwnerForm ownerForm);

        BizResult update(OwnerEditForm ownerEditForm);

        BizResult queryForCreateReset(Long villageId, Long buildingId, Long unitId);

        BizResult queryForEdit(Long suiteId);

        BizResult initSearchForm(OwnerSearchForm ownerSearchForm);

        BizResult detailWithSuiteId(long suiteId);


}
